package com.chtw.vuedemo.response.enumutil;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author chtw
 * @date 2020-09-27 23:47
 */
@Getter
@AllArgsConstructor
public enum CodeAndMsg {
    SUCCESS(0, "成功"),
    FAIL(2, "失败");
    private int code;
    private String message;
}
